Skip to content

Add regression tests for external components in JSX preserve mode - #8612

Merged
cknitt merged 1 commit into
masterfrom
codex/test-jsx-preserve-external-components
Sep 4, 2026
Merged

Add regression tests for external components in JSX preserve mode#8612
cknitt merged 1 commit into
masterfrom
codex/test-jsx-preserve-external-components

Conversation

@cknitt

@cknitt cknitt commented Sep 4, 2026

Copy link
Copy Markdown
Member

Verify that external components using abstract Jsx.component bindings produce valid preserved JSX, and that plain-function externals are rejected.

Add a note explaining that the custom Preact bindings in #8047 must use Jsx.component instead of a function alias, matching our React bindings. No compiler change is needed.

Validation: make lib, the new build test, the super-errors suite, and formatting checks pass.

Signed-off-by: Christoph Knittel <ck@cca.io>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-04T06:29:02.419391Z 61377d0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Sep 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@8612

@rescript/belt

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/belt@8612

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@8612

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@8612

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@8612

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@8612

@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@8612

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@8612

commit: 61377d0

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

@cknitt
cknitt merged commit 5c24235 into master Sep 4, 2026
29 checks passed
@cknitt
cknitt deleted the codex/test-jsx-preserve-external-components branch September 4, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants